QSPI Read/Write Test

Create a Vivado Project

You can build upon the "hello world" Vivado project by enabling the QSPI option.

image-20250811163543374

Create a Vitis Project

Create a new application project via File -> New -> Application Project.

image-20250811163619680

Select an empty .c file:

VeryCapture_20250620144007

After the application project is created, copy the corresponding code into the project. You can also refer to the example provided in Vitis at Xilinx\Vitis\2021.1\data\embeddedsw\XilinxProcessorIPLib\drivers\qspips_v3_9\examples.

 

Compile and Debug

After the project compiles successfully, connect the development board's JTAG to the computer using a Type-C USB cable. Use another Type-C USB cable to connect the development board's PS UART to the computer.

On the computer, open a serial terminal tool like MobaXterm and establish a connection with the development board's PS UART.

image-20250623161029210

In Vitis, enter debug mode: under Debug As, select the first option. Run at full speed to see the debug information through the serial port.

The debugging results are as follows:

VeryCapture_20250620172914